package com.qfedu.service;

import com.qfedu.entity.Cart;
import com.qfedu.entity.Result;

import java.util.List;

public interface ICartService {
    Result insertCart(int uid, int pid);
    Result cartList(int uid);
    Result addCartCount(int uid, int pid);
    Result subtractCart(int uid, int pid);
    Result changeCartCount(int uid, int pid, int count);
    Result deleteCart(int uid, int pid);
    Result clearCart(int uid);
    List<Cart> getCartList(int uid);
}
